<input type="date"
	   id="${tag.id}"
	   name="${tag.name}"
	   value="${tag.valueToString}" 
	   maxlength="10"
	   size="11" 
	   onKeyUp="mascara_data(this,event,'${tag.pattern}');" 
	   onKeyPress="hide_calendar();return valida_tecla_data(this, event,'${tag.pattern}');"
	   onChange="${tag.reloadOnChangeString}${tag.dynamicAttributesMap['change']}" 
	   onfocus="this.select();lcs(this)" 
	   onclick="event.cancelBubble=true;this.select();lcs(this)"
	   onblur="verifica_data(this);${tag.dynamicAttributesMap['blur']}" ${tag.dynamicAttributesToString}/>
<input type="hidden" name="${tag.name}_datePattern" value="${tag.pattern}"/>